package com.zdemo.hash1;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;


public class Tester {
	
	public static void main(String[] args) {
		System.out.println( 1 | 3);
		System.out.println( 1 ^ 3);
		System.out.println( 1 & 3);
//		final ExecutorService exec = Executors.newFixedThreadPool(111);
//		final HashHandler handler = new HashHandler();
//		for(int i = 0; i < 10000; i++) {
//			Runnable r = new Runnable() {
//				@Override
//				public void run() {
//					int random = (int) (Math.random() * 100000 + 1);
//					Integer hashCode = handler.getHash(random);
//					if(random * 2 != hashCode.intValue()) {
//						System.out.println(random * 2 + "," + hashCode);
//					} 
//				}
//			};
//			exec.submit(r);
//		}
//		
//		exec.shutdown();
//
//		while (true) {
//			if (exec.isTerminated()) {
//				System.out.println("finished!");
//				break;
//			}
//		}
	}
	
}
